<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>悬浮工具</title>
</head>
<style>
    body{
        background-color: darkseagreen;
    }
    .cla1{
        background-color: wheat;
        width: 100%;
        height: 1000px;
        border-radius: 100px;
    
    }
    .cla2{
        display: inline-block;
        background-color: pink;
        width: 500px;
        height: 500px;
        margin-top: 100px;
        margin-left: 50px;
        margin-right: 50px;
        border-radius: 10%;
    }
    .tips{
        background-color: white;
        position: fixed;
        width: 520px;
        height: 520px;
        right: 50px;
        bottom: 50px;
        z-index: 100;
        border-radius: 50%  ;
    }
    .tips:hover{
        box-shadow: 2px 2px 2px 30px rgba(0, 0, 0, 0.2);
    }
    img{
        width: 100%;
    }   
    
</style>
<body>
    <div class="cla1"></div>
    <div class="tips">
        <img src="./icon.png">
    </div>
</body>

<script>
    var body = document.querySelector("body")
    for (let index = 0; index < 100; index++) {
        var child = document.createElement("div")
        child.setAttribute("class", "cla2")
        body.appendChild(child)
    }
</script>
</html>